package cn.wolfcode.service;


import cn.wolfcode.domain.Permission;

import cn.wolfcode.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void deleteById (Long id);

    void save (Permission permission);

    Permission selectById (Long id);

    List<Permission> listAll ();

    void updateById (Permission permission);

    PageInfo<Permission> query (QueryObject qo);


    void reload ();

    List<String> selectByEmpId(Long id);

}
